<template>
	<view>
		<image src="/static/icon/add_btn.png" :class="imgClass"></image>
	</view>
</template>

<script>
	export default {
		props: {
			size: {
				type: String,
				default: 'small'
			}
		},
		data() {
			return {
				
			};
		},
		computed: {
			imgClass() {
				return this.size == 'small' ? 'smallImg' : 'bigImg'
			}
		}
	}
</script>

<style>
	.smallImg {
		width: 44rpx;
		height: 44rpx;
	}
	.bigImg {
		width: 50rpx;
		height: 50rpx;
	}
</style>
